﻿using System;
using System.Collections.Generic;

namespace Core.DataAccess.Model.Project.Order
{
    /// <summary>
    /// 订单优惠卷
    /// </summary>
    public partial class OrderCoupon
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 优惠卷码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 优惠卷名称
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 优惠卷类型
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 面值
        /// </summary>
        public decimal Money { get; set; }

        /// <summary>
        /// 是否已经使用
        /// </summary>
        public bool IsUse { get; set; }

        /// <summary>
        /// 额外信息
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 生成时间
        /// </summary>
        public DateTime? RegTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }
    }
}
